
package org.springblade.modules.videoanswer.service;

import org.springblade.modules.videoanswer.entity.Group;
import org.springblade.modules.videoanswer.entity.GroupVideo;
import org.springblade.modules.videoanswer.vo.GroupVideoVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * 视频群组分配表 服务类
 *
 * @author jiangyandong
 * @since 2021-03-25
 */
public interface IGroupVideoService extends IService<GroupVideo> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param groupVideo
	 * @return
	 */
	IPage<GroupVideoVO> selectGroupVideoPage(IPage<GroupVideoVO> page, GroupVideoVO groupVideo);

	boolean batchSubmit(List<GroupVideo> groupVideoList);

	List<Group> getGroupListByVideoid(Integer videoId);

	boolean removeGroupvideo(GroupVideo groupVideo);

}
